package com.longrise.android.byjk.plugins.dealsituation.cachecourse.downloadeddetail;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.longrise.android.byjk.model.DownloadedDetailBean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by callxkj on 2017/4/6.
 * 传输数据用的bean
 */

public class DownloadedTransferBean {
    private boolean isSuccess = false; //当前这个bean是否成功获取数据
    private List<DownloadedDetailBean> downloadingList = new ArrayList<>(); //正在下载的列表
    private List<DownloadedDetailBean> downloadedList = new ArrayList<>();  //已经下载完成的列表
    List<MultiItemEntity> rcvDataList = new ArrayList<>();//用于rcv展示的list

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public List<DownloadedDetailBean> getDownloadingList() {
        return downloadingList;
    }

    public void setDownloadingList(List<DownloadedDetailBean> downloadingList) {
        this.downloadingList = downloadingList;
    }

    public List<DownloadedDetailBean> getDownloadedList() {
        return downloadedList;
    }

    public void setDownloadedList(List<DownloadedDetailBean> downloadedList) {
        this.downloadedList = downloadedList;
    }

    public List<MultiItemEntity> getRcvDataList() {
        return rcvDataList;
    }

    public void setRcvDataList(List<MultiItemEntity> rcvDataList) {
        this.rcvDataList = rcvDataList;
    }

    @Override
    public String toString() {
        return "DownloadedTransferBean{" +
                "isSuccess=" + isSuccess +
                ", downloadingList=" + downloadingList +
                ", downloadedList=" + downloadedList +
                '}';
    }
}